package com.ruoyi.logistics.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物流管理对象 t_logistics
 * 
 * @author ruoyi
 * @date 2024-11-12
 */
public class TLogistics extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 物流ID */
    private Long logisticsId;

    /** 物流公司名称 */
    @Excel(name = "物流公司名称")
    private String logisticsName;

    /** 发货地址 */
    @Excel(name = "发货地址")
    private String shoppingAddr;

    /** 收货地址 */
    @Excel(name = "收货地址")
    private String userAddr;

    /** 关联订单ID */
    private String ordersId;

    public void setLogisticsId(Long logisticsId) 
    {
        this.logisticsId = logisticsId;
    }

    public Long getLogisticsId() 
    {
        return logisticsId;
    }
    public void setLogisticsName(String logisticsName) 
    {
        this.logisticsName = logisticsName;
    }

    public String getLogisticsName() 
    {
        return logisticsName;
    }
    public void setShoppingAddr(String shoppingAddr) 
    {
        this.shoppingAddr = shoppingAddr;
    }

    public String getShoppingAddr() 
    {
        return shoppingAddr;
    }
    public void setUserAddr(String userAddr) 
    {
        this.userAddr = userAddr;
    }

    public String getUserAddr() 
    {
        return userAddr;
    }
    public void setOrdersId(String ordersId) 
    {
        this.ordersId = ordersId;
    }

    public String getOrdersId() 
    {
        return ordersId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("logisticsId", getLogisticsId())
            .append("logisticsName", getLogisticsName())
            .append("shoppingAddr", getShoppingAddr())
            .append("userAddr", getUserAddr())
            .append("ordersId", getOrdersId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
